<form id="info-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <span>付款凭证{$row.pay_images}</span>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Buy_user_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-buy_user_id" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[buy_user_id]" type="text" value="{$row.buy_user_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sell_user_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sell_user_id" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[sell_user_id]" type="text" value="{$row.sell_user_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Type')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-type" class="form-control selectpicker" name="row[type]">
                {foreach name="typeList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.type"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('One_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-one_price" class="form-control" step="0.01" name="row[one_price]" type="number" value="{$row.one_price|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-num" class="form-control" step="0.01" name="row[num]" type="number" value="{$row.num|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Overtime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-overtime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[overtime]" type="text" value="{:$row.overtime?datetime($row.overtime):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pay_images')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-pay_images" class="form-control" size="50" name="row[pay_images]" type="text" value="{$row.pay_images|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-pay_images" class="btn btn-danger plupload" data-input-id="c-pay_images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="true" data-preview-id="p-pay_images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-pay_images" class="btn btn-primary fachoose" data-input-id="c-pay_images" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-pay_images"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-pay_images"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>


</form>
